package org.springblade.modules.admin.dto.rescue;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 救援列表查询Model
 * @author zcc
 * @version 1.0
 * @date 2023/2/27 10:39
 */
@Data
public class RescueListDTO {

	@ApiModelProperty("项目名称")
	private List<Long> buildingIds;

	@ApiModelProperty("电梯名称")
	private List<Long> elevatorIds;

	@ApiModelProperty("救援人员")
	private List<Long> rescueUserIds;

	@ApiModelProperty("维保组")
	private List<Long> groupIds;

	@ApiModelProperty("救援来源")
	private String rescueSource;

	@ApiModelProperty("工单状态-变更为数组")
	private List<Integer> statuss;

	@ApiModelProperty("0:未指派，1:已指派")
	private Integer isHasUser;

	@ApiModelProperty("报警时间=工单创建时间")
	private Date createBeginTime;

	@ApiModelProperty("报警时间=工单创建时间")
	private Date createEndTime;

	@ApiModelProperty("完成时间=工单完成时间")
	private Date finishBeginTime;

	@ApiModelProperty("完成时间=工单完成时间")
	private Date finishEndTime;

	@ApiModelProperty("报警类型 0-困人，1-伤人")
	private Integer rescueType;

	@ApiModelProperty("当前页")
	private Integer current;

	@ApiModelProperty("每页的数量")
	private Integer size;

	@ApiModelProperty("工单id")
	private List<Long> planIds;

	@ApiModelProperty("是否存在关联的维修工单")
	private Boolean isRelMalOrder;

	@ApiModelProperty("是否超时到达")
	private Boolean isOvertimeArrival;

}
